<pre>
<?php
include("include.php");
$a = sqlreadarray("select * from registereduserline");
$o  = '';
$o .= "<script>\n";
$o .= "a = eval (".json_encode($a).");\n";
$o .= "for(key in a) {\n";
$o .= "alert(a[key][0]);\n";
$o .= "}\n";
$o .= "</script>\n";
echo $o;
?>